package com.chezhujie.www.domain;

import com.sys.core.init.mysql.BaseEntity;
import com.sys.core.init.mysql.annotation.Column;
import com.sys.core.init.mysql.annotation.Entity;
import com.sys.core.init.mysql.annotation.Id;
import com.sys.core.init.mysql.annotation.Table;

import java.util.Date;

/**
 * Created by 汤伟杰 on 2017/6/1.
 */
@Entity
@Table(name = "czj_xy_orderdistribution",describe = "订单配送表")
public class Czjorderdistribution extends BaseEntity{
    @Id
    @Column(describe = "主键",length = 19,inputType = "hidden")
    private String id;
    @Column(describe = "订单编号",length = 25,inputType = "text")
    private String orderCode;
    @Column(describe = "收货人",length = 19,inputType = "text")
    private String recipients;
    @Column(describe = "收货地址",length = 255,inputType = "text")
    private String address;
    @Column(describe = "手机号",length = 50,inputType = "text")
    private String phoneNo;
    @Column(describe = "邮政编号",length = 19,inputType = "text")
    private String postalCode;
    @Column(describe = "邮箱",length = 50,inputType = "text")
    private String email;
    @Column(describe = "买家留言",length = 50,inputType = "text")
    private String message;
    @Column(describe = "创建时间",inputType = "date")
    private Date createTime;
    private Date createTimeStart;
    private Date createTimeEnd;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getRecipients() {
        return recipients;
    }

    public void setRecipients(String recipients) {
        this.recipients = recipients;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTimeStart() {
        return createTimeStart;
    }

    public void setCreateTimeStart(Date createTimeStart) {
        this.createTimeStart = createTimeStart;
    }

    public Date getCreateTimeEnd() {
        return createTimeEnd;
    }

    public void setCreateTimeEnd(Date createTimeEnd) {
        this.createTimeEnd = createTimeEnd;
    }
}
